﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UAgentMacStockDetailAdd.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.UserModel.UAgentMacStockDetailAdd" %>

<div class="pageContent">
    <form id="Form1" action="UserModel/UAgentMacStockDetailAdd.aspx?ajaxmethod=add&uasid=<%=UASID %>" class="pageForm required-validate"
    onsubmit="return validateCallback(this,dialogAjaxDone);">
    <div class="pageFormContent" layouth="56">
          <div class="" style=" clear:both; border-bottom:1px solid #000; padding:5px 0px; margin:5px 0px; font-weight:bold; font-size:14px;">                 
                 样机信息
                 </div>
                   <p>
                    <label>
                        机号：</label>
                    <input type="text"  class="" readonly value="<%=obj.SerialNumber %>" />
                    </p>
                     <p>
                    <label>
                        代理商：</label>
                    <input type="text"  class="" readonly value="<%=obj.AgentName %>" />
                    </p> 
                     <p>
                    <label>
                        入库时间：</label>
                    <input type="text"  class="" readonly value="<%=obj.IntoStockDate %>" />
                    </p>
                    <p>
                    <label>
                        是否已交机：</label>
                        <%=obj.IsInto?"是":"否"%>
                    </p>
                  <div class="" style=" clear:both; border-bottom:1px solid #000; padding:5px 0px; margin:5px 0px; font-weight:bold; font-size:14px;">
                 
                 添加定检记录
                 </div>
                 <p>
                    <label>
                        定检标记：</label>
                    <select  name="CheckLabel" class="required combox" >
                        <%=GetCheckLabel()%>
                    </select>
                </p>                
                <p>
                    <label>
                        定检日期：</label>
                    <input type="text" name="CheckDate" class="date required" />
                </p>
                    <p>
                    <label>
                        定检人员：</label>
                   
                    <input type="text" name="dwz.orgLookup.RealName" class="textInput" alt="" readonly="true" />
                     <a class="btnLook" href="SysBasic/OUserLookUp.aspx?target=dialog&rel=UAgentMacStockDetailAdd&RoleId=9,11,12"  lookupgroup="orgLookup"
                        maxable="false" width="500" resizable="false" title="服务部技师">
                        <hi:text key="查找带回" />
                    </a>
                </p> 
                    <p>
                    <label>
                        说明：</label>
                    <input type="text" name="Reamrk" class="" />
                </p> 

                 <div class="" style=" clear:both; border-bottom:1px solid #000; padding:5px 0px; margin:5px 0px; font-weight:bold; font-size:14px;">
                 已定检记录
                 </div>
                 <div style="border-width: 1px; border-style: solid;border-color: #B8D0D6;">
                <asp:repeater id="rpMenu" runat="server">
                    <HeaderTemplate>
                    <table class="table" layouth="370" >                                                                                                                                                                                                                                                                        <thead>
                            <tr  >                   
                                <th width="60">
                                    定检标记
                                </th>
                                <th width="80">
                                    定检日期
                                </th> 
                                <th width="80">
                                    点检人员
                                </th>
                                <th width="100">
                                    说明
                                </th>  
                                <th width="60">删除</th>
                            </tr>
                        </thead>
                        <tbody>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tr> 
				                <td>
                                <%# Eval("CheckLabel")%>
                                </td>
                                <td>
                                    <%# Eval("CheckDate")%>
                                </td>  
				                <td><%# Eval("RealName")%></td>
			
                                <td><%# Eval("Reamrk")%></td>
                                <td>
                                    <a class="btnDel" href="sysAjaxDone.ashx?ajaxmethod=DeleteUAgentMacStockDetail&UASDID=<%# Eval("UASDID") %>" target="ajaxTodo" title="确定要删除吗?" callback="dialogAjaxDone"><span>删除</span></a>
                                </td>
			                </tr>
                        </ItemTemplate>
                        <FooterTemplate>
                        </tbody>
                    </table>
                </FooterTemplate> 
                </asp:repeater>
           </div>
       
    </div>
    <div class="formBar">
        <ul>        
            <li>
                <div class="buttonActive">
                    <div class="buttonContent">
                        <button type="submit">
                            保存</button></div>
                </div>
            </li>
            <li>
                <div class="button">
                    <div class="buttonContent">
                        <button type="button" class="close">
                            取消</button></div>
                </div>
            </li>
        </ul>
    </div>
    </form>
</div>
